package com.xiaobaibai.service;

import com.auth0.jwt.interfaces.DecodedJWT;
import org.springframework.security.core.Authentication;

import java.util.Map;

public interface ITokenService {

    public String getToken(Integer userId);

    public Map<String,Object> checkToken(String token);

    public String refreshToken(Authentication authentication);

}
